Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align data migration tool with current version #671

Merged
merged 3 commits into from
Mar 28, 2019
Merged

Conversation

melowe
Copy link
Contributor

@melowe melowe commented Mar 27, 2019

Discovered issue where constellation data store migration tool is missing TIMESTAMP column.
Added TIMESTAMP column definition when performing the data migration, which means the created database is compliant with the latest release version.

Use provided DDL scripts for acceptance tests (H2, HSQL, and sqlite) to ensure these are aligned with current code base.

Added HSQL ddl.

…P column.

Added hsql ddl.
Use ddls in acceptence test.
@melowe melowe dismissed prd-fox’s stale review March 27, 2019 17:49

We can raise as separate issue.

@codecov-io
Copy link

codecov-io commented Mar 27, 2019

Codecov Report

Merging #671 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #671      +/-   ##
============================================
- Coverage     99.49%   99.49%   -0.01%     
- Complexity     1869     1870       +1     
============================================
  Files           286      287       +1     
  Lines          5570     5567       -3     
  Branches        276      275       -1     
============================================
- Hits           5542     5539       -3     
  Misses            5        5              
  Partials         23       23
Impacted Files Coverage Δ Complexity Δ
...quorum/tessera/data/migration/CmdLineExecutor.java 100% <100%> (ø) 5 <0> (ø) ⬇️
...com/quorum/tessera/data/migration/UriCallback.java 100% <100%> (ø) 1 <1> (?)
...rum/tessera/data/migration/SqliteDataExporter.java 100% <100%> (ø) 2 <0> (-1) ⬇️
...uorum/tessera/data/migration/JdbcDataExporter.java 100% <100%> (ø) 5 <2> (+2) ⬆️
.../quorum/tessera/data/migration/H2DataExporter.java 100% <100%> (ø) 2 <0> (-1) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b22fbe...6595990. Read the comment docs.

melowe and others added 2 commits March 27, 2019 19:25
@prd-fox prd-fox mentioned this pull request Mar 28, 2019
@melowe melowe merged commit b28a496 into master Mar 28, 2019
@melowe melowe deleted the bugfix/issue-668 branch March 29, 2019 10:25
@prd-fox prd-fox added 0.9 bug Something isn't working labels Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.9 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants